package com.bw.service.impl;

import com.bw.mapper.OrderMapper;
import com.bw.pojo.A;
import com.bw.pojo.KeyWord;
import com.bw.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
import java.util.Map;


@Service
public class OrderServiceImpl  implements IOrderService {
//    @Override
//    public List<Map<String, Object>> getGmv() {
//        return Collections.emptyList();
//    }
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public List<Map<String, Object>> getGmv() {
        return orderMapper.getGmv();
    }

    @Override
    public List<KeyWord> getKeyWord(String date) {
        return orderMapper.getKeyWord(date);
    }

    @Override
    public List<A> getA(String date, String vc, String ch, String ar) {
        return orderMapper.getA(date,vc,ch,ar);
    }
}
